<?php
$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'子账号管理'=>array($this->pre_module_url.'/memSub/account'),
	'重置密码',
);
?>

<div class="hr_15"></div>

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'adminer-form',
	'enableAjaxValidation'=>false,
	'enableClientValidation'=>true,
)); ?>
<ul class="form_list form_list2">

	<li class="c_f">
		<span class="tit">用户名：</span>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zda_username',array('size'=>20,'maxlength'=>20,'class'=>'t_ipt ipt_bg w_250','readonly'=>'readonly')); ?>
			<?php echo $form->error($model,'zda_username')?>
		</div>
	</li>
	
	<li class="c_f">
		<span class="tit">真实姓名：</span>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zda_name',array('size'=>20,'maxlength'=>20,'class'=>'t_ipt ipt_bg w_250','readonly'=>'readonly')); ?>
			<?php echo $form->error($model,'zda_name')?>
		</div>
	</li>
	<?php if($model->zda_id==Yii::app()->user->getId()){?>
	<li class="c_f">
		<span class="tit"><em class="xing">*</em>旧密码：</span>
		<div class="cont f_l">
			<?php echo $form->passwordField($model,'old_password',array('size'=>20,'maxlength'=>20,'class'=>'t_ipt ipt_bg w_250')); ?>
			<?php echo $form->error($model,'old_password')?>
		</div>
	</li>
	<?php }?>
	<li class="c_f">
		<span class="tit"><em class="xing">*</em>密码：</span>
		<div class="cont f_l">
			<?php echo $form->passwordField($model,'zda_password',array('size'=>20,'maxlength'=>20,'class'=>'t_ipt ipt_bg w_250')); ?>
			<?php echo $form->error($model,'zda_password')?>
		</div>
	</li>
	
	<li class="c_f">
		<span class="tit"><em class="xing">*</em>重复密码：</span>
		<div class="cont f_l">
			<?php echo $form->passwordField($model,'re_password',array('size'=>20,'maxlength'=>20,'class'=>'t_ipt ipt_bg w_250')); ?>
			<?php echo $form->error($model,'re_password')?>
		</div>
	</li>

	<li class="c_f"><span class="tit">&nbsp;</span>
		<div class="cont f_l">
			<?php echo CHtml::submitButton(Yii::t('adm','Save Date'),array('class'=>'mem_btn mem_btn20 mr5')); ?>
		</div>
	</li>
</ul>
<?php $this->endWidget(); ?>
